<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="language" content="en" />
		
		<?php $baseUrl = Yii::app()->request->baseUrl; ?>
		<!-- blueprint CSS framework -->
		<link rel="stylesheet" type="text/css"
			  href="<?php echo $baseUrl; ?>/css/screen.css"
			  media="screen, projection" />
		<link rel="stylesheet" type="text/css" media="print" 
			  href="<?php echo $baseUrl; ?>/css/print.css" />
		<link rel="stylesheet" type="text/css"
			  href="<?php echo $baseUrl; ?>/css/main.css" />
		<link rel="stylesheet" type="text/css"
			  media="screen, projection"
			  href="<?php echo $baseUrl; ?>/css/form.css" />
		<!--[if lt IE 8]>
		<link rel="stylesheet" type="text/css"
			  href="<?php echo $baseUrl; ?>/css/ie.css"
			  media="screen, projection" />
		<![endif]-->

		<?php
		$path = Yii::app()->request->baseUrl . '/images/senkom.ico';
		$cs = Yii::app()->clientScript;
		$cs->registerLinkTag("shortcut icon", "image/x-icon", $path);
		?>

		<title><?php echo CHtml::encode($this->pageTitle); ?></title>
	</head>

	<body>
		
		<?php
		if (YII_DEBUG) {
			$config = array('text'=>'DEVELOPMENT', 'position'=>'right');
			$this->widget('ext.environmentindicator.ei', $config);
		}
		?>
		
		<div class="container" id="page">
			
			<div id="header">
				<h1>Senkom Mitra Polri</h1>
				<h2>Menembus Jarak Tanpa Batas</h2>
			</div><!-- header -->
			
			<div class="clear"></div>
			
			<?php if (isset($this->breadcrumbs)): ?>
				<?php
				$this->widget('zii.widgets.CBreadcrumbs', array(
					'links'=>$this->breadcrumbs,
				));
				?><!-- breadcrumbs -->
			<?php endif ?>
			
			<?php echo $content; ?>
			
			<div class="clear"></div>
			
		</div><!-- page -->

	</body>
</html>

<?php
$assetsUrl = Yii::app()->assetsUrl;
$cs = Yii::app()->clientScript;
$media = "screen, projection, print";
$cs->registerCssFile("$assetsUrl/css/typography.css", $media);
$media = "screen, projection";
$cs->registerCssFile("$assetsUrl/camera/css/main.css", $media);
$cs->registerCssFile("$assetsUrl/css/form.css", $media);
$cs->registerCssFile("$assetsUrl/camera/css/form.css", $media);
?>